package com.health.pojo.domain;

import lombok.Data;
import lombok.AllArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 健康指标DO
 *
 * @author WUYU_MIN
 * @date 2025-04-29 23:51:18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("health_indicators")
public class HealthIndicatorDO {

    /**
     * 指标ID:指标ID
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "指标ID:指标ID")
    private Integer indicatorId;

    /**
     * 用户ID:用户ID
     */
    @Schema(description = "用户ID:用户ID")
    private Integer userId;

    /**
     * 身高:身高(cm)
     */
    @Schema(description = "身高:身高(cm)")
    private Double height;

    /**
     * 体重:体重(kg)
     */
    @Schema(description = "体重:体重(kg)")
    private Double weight;

    /**
     * BMI:BMI
     */
    @Schema(description = "BMI:BMI")
    private Double bmi;

    /**
     * 血压:血压
     */
    @Schema(description = "血压:血压")
    private String bloodPressure;

    /**
     * 血糖:血糖(mmol/L)
     */
    @Schema(description = "血糖:血糖(mmol/L)")
    private Double bloodGlucose;

    /**
     * 血氧饱和度:血氧饱和度(%)
     */
    @Schema(description = "血氧饱和度:血氧饱和度(%)")
    private Integer bloodOxygen;

    /**
     * 心率:心率(bpm)
     */
    @Schema(description = "心率:心率(bpm)")
    private Integer heartRate;

    /**
     * 创建时间:创建时间
     */
    @Schema(description = "创建时间:创建时间")
    private Date createdAt;

    /**
     * 修改时间:修改时间
     */
    @Schema(description = "修改时间:修改时间")
    private Date updatedAt;

    /**
     * 软删除时间:软删除时间
     */
    @Schema(description = "软删除时间:软删除时间")
    private Date deletedTime;
}
